package com.hgkj.cloud.base.service;


import com.github.pagehelper.Page;
import com.hgkj.cloud.base.common.PageInfo;
import com.hgkj.cloud.base.domain.TenantConsultDetail;

import java.util.List;
import java.util.Map;


public interface TenantConsultDetailService {

    TenantConsultDetail selectByPrimaryKey(Long id) ;

    int updateByPrimaryKeySelective(TenantConsultDetail record) ;

    List<TenantConsultDetail> listByConsultId(PageInfo pi, Map<String, Object> map);

    int insertConsultDetail(TenantConsultDetail record);

    List<TenantConsultDetail> listConsultDetailById(Map<String, Object> map);

    long getListByConsultIdCount(Map<String, Object> map);

    Page<TenantConsultDetail> getAllConsultDetail(Integer pageNum, Integer pageSize, Map map);
}
